home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / comm2 / stat_com.zip / STAT.DOC < prev    next >
Text File  |  1990-11-10  |  2KB  |  55 lines

  1.  
  2.   The STAT program will allow you to display and change the status
  3.   of any COM port.  The syntax of this utility is as follows:
  4.  
  5.  
  6.                         ┌       ┐ ┌     ┐ ┌     ┐
  7.                    STAT │ COM1  │ │ INT │ │ ON  │
  8.                         │ COM2  │ │ RTS │ │ OFF │
  9.                         │ COM3  │ │ DTR │ └     ┘
  10.                         │ COM4  │ └     ┘
  11.                         │ PNNNN │
  12.                         └       ┘
  13.             Where NNNN is a PORT address.
  14.  
  15.             EXAMPLE --> C>stat com1 int on
  16.  
  17.                           This will enable interrupts on port COM1
  18.  
  19.  
  20.                         C>stat p3f8 rts off
  21.  
  22.                           This will turn off RTS on port 3F8
  23.  
  24.  
  25.                         C>stat COM2
  26.  
  27.                           This will display the status of port COM2
  28.  
  29.  
  30.  
  31.   The INT operator will ENABLE or DISABLE interrupts for the selected
  32.   COM port.  This could be useful if a piece of software left
  33.   interrupts turned on for a port and another port was trying to use
  34.   the same interrupt line.  You could then turn off interrupts for one
  35.   of the ports allowing the other one to work.
  36.  
  37.   The RTS operator turns ON and OFF the Request To Send RS232 line.
  38.  
  39.   The DTR operator turns ON and OFF the Data Terminal Ready RS232 line.
  40.  
  41.  
  42.   The following files are included:
  43.  
  44.        STAT.DOC   <---  This file.
  45.        STAT.EXE   <---  Program compiled with Microsoft C 5.1
  46.        STAT.C     <---  Source code
  47.  
  48.   This program is released into the Public Domain and may be used
  49.   for whatever anyone wants to use it for.
  50.  
  51.  
  52.                                   Dave DeDene
  53.                                   (313) 497-1038
  54.                                   Center Line  MI
  55.